import request from '@/utils/request'

export function getTeam(data) {
  return request({
    url: '/home/team',
    method: 'get',
    params: data
  })
}

export function deleteTeacher(data) {
  return request({
    url: `/home/team/${data}`,
    method: 'delete'
  })
}

export function createOrUpdateTeacher(data) {
  return request({
    url: '/home/team',
    method: 'post',
    data: data
  })
}
